package net.learn.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.learn.framework.common.page.PageResult;
import net.learn.framework.common.service.BaseService;
import net.learn.system.entity.SysJudgeEntity;
import net.learn.system.entity.SysNewEntity;
import net.learn.system.query.SysJudgeQuery;
import net.learn.system.vo.SysJudgeVO;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-04-01
 */
public interface SysJudgeService extends BaseService<SysJudgeEntity> {
    String addJudge(SysJudgeVO vo);

    Boolean updateJudge(SysJudgeVO vo);

    void delete(List<Long> idList);

    List<SysJudgeVO> qryJudgeList();

    List<SysJudgeVO> qryJudgePaper(SysJudgeQuery qry);

    List<SysJudgeVO> qryJudgePaperList(SysJudgeQuery qry);

    List<SysJudgeVO> qryJudgeRandList(SysJudgeQuery qry);

    PageResult<SysJudgeVO> qryJudgeListPage(SysJudgeQuery qry);

    PageResult<SysJudgeVO> qryQuestionJudge(SysJudgeQuery qry);
}
